<?php
require_once( 'path.php' );

//调用初始化页面
require_once( CLASSMATE_ROOT.'/controller/display_script_init.php' );

$tpl->assign( 'title' , '系统反馈信息' );

//如果用户直接调用本页面,消息格式必须为一数组
if( session::get('response_message') ){

	$tpl->assign( 'response_message' , session::get( 'response_message' ) );
	session::clear( 'response_message' );

}else{

	if ( session::get('nick') ){

		 $tpl->assign( 'nick' , session::get('nick') );
	}else{
	 
		 $tpl->assign( 'nick' , null );
	}
	
	$response_message = array( 
		 'type' => 'info' , 
		 'content' => '暂时没有您的消息' ,
		 //url描述
		 'url_des' => '返回首页' ,
		 'url' => '/classmate/controller/index.php' ); 

	$tpl->assign( 'response_message' , $response_message );
}

$tpl->display( 'response_message/response_message.tpl' );

